<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<ul id="nav" class="sf-menu">
    <li class="current"><a href="#">Who We Are</a>
        <ul>
            <li class="current">
                <%= Html.ActionLink("Our Stories", "OurStories", "Who") %></li>
            <li>
                <%= Html.ActionLink("Our Commitments", "OurCommitments", "Who") %></li>
            <li>
                <%= Html.ActionLink("Kids Are Involved", "KIdsAreInvolved", "Who") %></li>
            <li>
                <%= Html.ActionLink("Theology","Basics","Who") %></li>
            <li>
                <%= Html.ActionLink("Stuff We Like", "StuffWeLike", "Who")%>
            </li>
            <li>
                <%= Html.ActionLink("Staff Profiles", "StaffProfile", "Who") %></li>
            <li>
                <%= Html.ActionLink("Contact", "ContactUs", "Who") %></li>
        </ul>
    </li>
    <li><a href="#">Get Involved</a>
        <ul>
            <li><%= Html.ActionLink("Anniversary", "Anniversary", "What") %></li>
            <li>
                <%= Html.ActionLink("What, Are You New?", "AreYouNew", "What") %></li>
            <li><a href="http://motaspirit.org/Campout/">Summer Campout</a></li>
            <li>
                <%= Html.ActionLink("Current Projects", "CurrentProjects", "What")%></li>
            <li>
                <%= Html.ActionLink("Events", "Events", "What")%></li>
            <li>
                <%= Html.ActionLink("Service", "Service", "What") %>
                <% if (Context.User.IsInRole("Member"))
                   { %>
                <ul>
                    <li><a href="#">Peace Candle</a></li>
                    <li><a href="#">Communion Prep</a></li>
                    <li><a href="#">Youth Group</a></li>
                    <li><a href="#">Music</a></li>
                    <li><a href="#">Library</a></li>
                    <li><a href="#">Saturday Workshops</a></li>
                </ul>
                <% } %>
            </li>
            <li>
                <%= Html.ActionLink("Donate", "Donate", "What") %></li>
        </ul>
    </li>
    <li><a href="http://motaspirit.blogspot.com" target="_blank">Blogs</a>
        <ul>
            <li><a href="http://motaspirit.blogspot.com" target="_blank">MoTA Non-Blog</a></li>
        </ul>
    </li>
    <% if (Context.User.IsInRole("Member") || Context.User.IsInRole("Administrator"))
       { %>
    <li>
        <li><a href="#">Member Area</a>
            <ul>
                <li>
                    <% var values = new RouteValueDictionary();
                       values.Add("userName", Page.User.Identity.Name); 
                    %>
                    <%= Html.ActionLink("Six Word Biography", "DetailsForUser", "Biography", values, null)%>
                </li>
            </ul>
        </li>
    </li>
    <% } %>
    <% if (Context.User.IsInRole("Administrator"))
       { %>
    <li>
        <%= Html.ActionLink("Admin", "Index", "Admin") %>
        <ul>
            <li>
                <%= Html.ActionLink("Manage Announcements", "Index", "Announcement") %>
            </li>
        </ul>
    </li>
    <% } %>
</ul>
